home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 5706 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.1 KB  |  34 lines

  1. Newsgroups: comp.lang.c
  2. Path: news.sprintlink.net!news1!news
  3. From: rclark@iquest.net (Robert B. Clark)
  4. Subject: Re: gets(rec->num);  I don't know what I am doing wrong...
  5. X-Nntp-Posting-Host: ind-004-236-169.iquest.net
  6. Message-ID: <3129dbce.621860@news.iquest.net>
  7. Sender: news@iquest.net (News Admin)
  8. Organization: IQuest Internet, Inc.
  9. X-Newsreader: Forte Agent .99d/16.182
  10. References: <4fempt$mjg@aphex.direct.ca> <4ffhbo$qm4@news1.cle.ab.com>
  11. Date: Tue, 20 Feb 1996 15:44:55 GMT
  12.  
  13. On Fri, 09 Feb 1996 16:14:33 GMT, don.phillips@ab.com (Donald-Anthony C.
  14. Phillips) wrote:
  15.  
  16. >Part of your problem may be that gets() is defined as gets(char *s).
  17. >You are passing all sorts of values to gets(), i.e., gets(rec->id)
  18.  
  19. Spot on.
  20.  
  21. >Secondly, is FILE* fp the same as FILE *fp.  It appears numerous
  22.  
  23. Yes, it is. 
  24.  
  25. >I'm not real sure about your code, you may need to post the assign2.h
  26. >header which you include for greater clarity.
  27.  
  28. He did, (I assume) in the text before the "assign.c" comment.
  29.  
  30. --
  31. Robert B. Clark <rclark@iquest.net>
  32. "Be wary of strong spirits.  It can make you shoot at tax collectors...
  33. and miss." --RAH
  34.